import React from 'react';

export default function Index({ name, className = '', style = {} }) {
  // eslint-disable-next-line no-undef
  const imgData = require('../../../public/images/svg/' + name + '.svg');
  return <img src={imgData} className={'' + className} style={style} />;
}
